package com.bh.base.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.HashMap;
import java.util.Map;

/**
 * 注册机构对象 jc_registration
 * 
 * @author slx
 * @date 2023-11-12
 */
@TableName("jc_registration")
@ApiModel(value = "注册机构对象", description = "注册机构对象")
@EqualsAndHashCode(callSuper = true)
@Data
public class JcKyRegistration extends BhtmsBaseEntity
{
    

    /** 地址 */
    @ApiModelProperty("地址")
    @Excel(name = "地址")
    private String address;

    /** 法人 */
    @ApiModelProperty("法人")
    @Excel(name = "法人")
    private String legalperson;

    /** 税号 */
    @ApiModelProperty("税号")
    @Excel(name = "税号")
    private String taxcode;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("description", getDescription())
           
            .append("modifyName", getModifyName())
            .append("modifyTime", getModifyTime())
            .append("name", getName())
            .append("status", getStatus())
            .append("address", getAddress())
            .append("legalperson", getLegalperson())
            .append("taxcode", getTaxcode())
            .toString();
    }
}
